﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SmartCollector.Domain.Exceptions
{
    public class CategoryAlreadyExistException : Exception
    {
        public string CategoryName
        {
            get;
            private set;
        }
        public int CategoryId
        {
            get;
            private set;
        }
        public CategoryAlreadyExistException(string categoryName, int categoryId)
        {
            CategoryName = categoryName;
            CategoryId = categoryId;
        }
    }
}
